package com.ruoyi.accountant.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class Inaccount {
    private Long iid;
    private Long outaccount;
    private Long inaccount;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endtime;
    private Integer finished;
    private Integer outaccountCurrency;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createtime;
    private Integer inaccountCurrency;
    private BigDecimal outaccountMoney;
    private String dtype;
    private Long ofReason;
    private String object;
    private String tag;
    private BigDecimal tax;
    private String invoice;
    private String attachment;
    private String comment;
    private Date incomeDate;
    private Date proofDate;
    private Double serviceCharge;
    private String taxRateType;
    private Double taxRate;
    private Date payDate;
    private BigDecimal inaccountMoney;
    private Double inaccountServiceCharge;
    private Long tid;
}